package org.qloudgen.txn.dilithium.cluster.beans;

import java.util.Iterator;
import java.util.Properties;
import java.util.Set;

public class PgxcConfProp extends Properties{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public String  toString(){
		
		StringBuffer sb =  new StringBuffer(); 
		
		Set<Object> set = this.keySet();
		Iterator<Object> iter = set.iterator();
		
		while (iter.hasNext()){
			String key = (String) iter.next();
			sb.append(key);
			sb.append("=");
			sb.append(this.getProperty(key));
			sb.append("\n");
		}
		return sb.toString();
	}
}
